package com.tender.controller;

import com.tender.common.ActionResult;
import com.tender.dtos.YardUnitDTO;
import com.tender.model.YardUnitCondition;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/api/visualization")
// 单倍图
@Tag(name = "画箱子-根据区号、排号过滤", description = "画箱子-根据区号、排号过滤")
public class UnitLayoutController {


    @Operation(summary = "画箱子-根据区号、排号过滤")
    @PostMapping("/layout/list")
    public ActionResult<List<YardUnitDTO>> unitLayoutList(
            @Parameter(description = "画箱子-根据区号、排号过滤-入参")
            @RequestBody YardUnitCondition param) {
        return ActionResult.success();
    }

}
